Skip to main content
method Server.prototype.[Symbol.asyncDispose]
Server.prototype.[Symbol.asyncDispose](): Promise<void>
Deprecated

Calls Server.close() and returns a promise that fulfills when the server has closed.

Return Type

Promise<void>
Back to top